using System;
using System.Collections.Generic;
using System.Text;

namespace MirrorX
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args.Length < 2)
            {
                Console.WriteLine("MirrorX V1.0 (26-Nov-2006), by Steve Tibbett");
                Console.WriteLine("Usage: MirrorX SrcDir DestDir [-s]");
                Console.WriteLine(" -s shows what would be done, but doesn't do it");
                System.Environment.ExitCode = 1;
                return;
            }

            MirrorManager mm = new MirrorManager();
            if ((args.Length == 3) && (args[2].ToLower() == "-s"))
                mm.DoCopy = false;

            mm.Mirror(args[0], args[1]);
        }
    }
}
